<div class="operate2">
  <ul>
    <li onclick="window.location.href='{:U(MODULE_NAME.'/Perm/addgroup')}'"><span class="icon-add01"></span>添加组名</li>
  </ul>
  <div class="clear"></div>
</div>
<table class="list">
		<thead>
			<tr>
          <th>编号</th>
          <th>用户组名称</th>
          <th>状态</th>
          <th>操作</th>
      </tr>
		</thead>
  <tbody>
		<foreach name="group" item="group">
            <tr>
                <td>{$group.id}</td>
                <td>{$group.title}</td>
                <td><if condition="$v['status'] eq 0">禁用<else/>正常</if></td>
                <td>
                <a href="{:U(MODULE_NAME.'/User/lists',array('id'=>$group['id']))}" class="format">用户列表</a>
                <a href="{:U(MODULE_NAME.'/Perm/editgroupauth',array('id'=>$group['id']))}" class="format">权限设置</a>
                <a href="{:U(MODULE_NAME.'/Perm/editgroup',array('id'=>$group['id']))}" class="format">编辑</a>
				<a href="javascript:;" class="disabled" onclick="toConfirm('{:U(MODULE_NAME.'/Perm/delgroup',array('id'=>$group['id']))}', '确实要删除吗？(不可恢复)')">删除</a>
				</td>
            </tr>
        </foreach>     
 </tbody>	
</table>
</body>
</html>
